//$(document).ready(function() {
//	$('a.toIndex').bind("click.submit",function(event) {
//		$('form').prop("action", "index.action");
//		$('form').submit();
//		return false;
//	});
//	$('a.toBook').bind("click.submit",function(event) {
//		$('form').prop("action", "book.action");
//		$('form').submit();
//		return false;
//	});
//	$('a.toViewBooking').bind("click.submit",function(event) {
//		$('form').prop("action", "view.action");
//		$('form').submit();
//		return false;
//	});
//});
function toIndex(caller) {
	var form = document.getElementById("form");
	// set struts action
	form.setAttribute("action", "index.action");
	// submit form
	form.submit();
	// disable caller original action
	return false;
}
function toEmployeeList(caller) {
	var form = document.getElementById("form");
	// set struts action
	form.setAttribute("action", "listEmployee.action");
	// submit form
	form.submit();
	// disable caller original action
	return false;
}